package bean;

import data.bean.DataBean;
import data.bean.DatabaseEntity;
import data.bean.DatabaseField;

@DatabaseEntity(tableName="Customer")
public class Customer extends DataBean {

	static {
		REGISTER(Customer.class);
	}

	@DatabaseField(name="id", type=Long.class, autoGenerate=true, primaryKey=true)
	private Long id;

	@DatabaseField(name="name", type=String.class)
	private String name;

	@DatabaseField(name="address", type=String.class)
	private String address;

	@DatabaseField(name="telephone", type=String.class)
	private String telephone;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}
	
}
